package com.yuyakaido.android.cardstackview.sample

import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView


/**
 * 三资页我的小组Adapter
 * wenjing.ren
 * 2019.7.12
 */
class MyGroupAdapter() : RecyclerView.Adapter<MyGroupAdapter.ViewHolder>() {
    override fun onBindViewHolder(holder: ViewHolder, position: Int) {
        holder?.slove()
    }

    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder {
        return ViewHolder(View.inflate(parent.context, R.layout.adapter_item_my_group, null))
    }

    override fun getItemCount(): Int = 50

    inner class ViewHolder(view: View) : RecyclerView.ViewHolder(view) {
        fun slove() {

        }
    }
}